package com.wits.platform.web.mvc;

public class PageParam{
	
	private static final int DEFAULT_PAGE_SIZE=20;
	
	//每页多少条
	private int numPerPage=DEFAULT_PAGE_SIZE;
	
	//第几页
	private int pageNum=1;
	
	private String sortName;
	
	private String sortOrder;

	public int getNumPerPage() {
		return numPerPage;
	}

	public void setNumPerPage(int numPerPage) {
		this.numPerPage = numPerPage;
	}

	public int getPageNum() {
		return pageNum;
	}

	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}

	public String getSortName() {
		return sortName;
	}

	public void setSortName(String sortName) {
		this.sortName = sortName;
	}

	public String getSortOrder() {
		return sortOrder;
	}

	public void setSortOrder(String sortOrder) {
		this.sortOrder = sortOrder;
	}
}
